package refactor.extractinterface.original;

public class Timesheet {
    public double calcCharge(Employee employee, int days) {
        int base = employee.getRate() * days;
        if (employee.hasSpecialSkill()) {
            return base * 1.5;
        } else {
            return base;
        }
    }
}
